<?php
	class Model_Index extends Zend_Db_Table_Abstract{		
    protected $db;
    public function __construct(){
        $this->db=Zend_Registry::get('db');
    }
    public function listall(){
        $sql=$this->db->query("select * from user order by idUser DESC");
        return $sql->fetchAll();
    }
}
		